from django.urls import path
from .views import CategoryModelsListView, VaccineModelsListView, VaccineModelsDetailView
urlpatterns = [
    # 获取疫苗类别信息
    path('categories', CategoryModelsListView.as_view()),
    # 获取疫苗信息
    path('vaccines/<int:id>/', VaccineModelsListView.as_view()),
    # 获取指定疫苗的详细信息
    path('vaccine/<int:id>/', VaccineModelsDetailView.as_view()),
]